package com.cxrj.zhsq.userManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService {

	public Map<String, Object> login(String account, String password, HttpServletRequest request);

	Map<String, Object> selectUsersByOrganizationId(HttpServletRequest request, HttpServletResponse response);

	void insertUser(Map<String, Object> paramMap, HttpServletRequest request);

	Map<String, Object> selectUserById(String userId);

	void updateUserInfo(Map<String, Object> paramMap);

	void deleteUserById(String userId);

	Map<String, Object> selectUserAccount(String userAccount);

	void deleteUsers(String[] userIds);

	Map<String, Object> updatePassword(Map<String, Object> map);

	void updateUserStatus(Map<String, Object> map);

	public void resetUserPwdById(String userId);

	public Map<String, Object> selectPwdById(String userId);

	public Map<String, Object> selectAppUser(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectUsersPager(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> updatePass(String oldPass, String newPass, HttpServletRequest request);
}
